<?php
error_reporting(E_ALL & ~E_NOTICE);
ini_set('display_errors','On');
define('APPLICATION_PATH', realpath(dirname(__FILE__)."/../"));

$application_ini=APPLICATION_PATH."/conf/application.ini";

file_exists(APPLICATION_PATH . '/conf/const.php') or die("Error: the app const config is missing...");
require_once APPLICATION_PATH . '/conf/const.php';


$application = new Yaf_Application( APPLICATION_PATH . "/conf/application.ini");

$application->bootstrap()->run();
?>
